package org.mall.modules.shoptype.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mall.modules.shoptype.entity.ShopTypeRe;

import java.util.List;

/***
 *@author yinxucun
 *@date 2020-01-02 14:17 
 */
@Mapper
public interface ShopTypeReMapper extends BaseMapper<ShopTypeRe> {
    @Delete("delete from shop_goods_type_relation  where shop_id = #{id}")
    boolean removeByShopI(@Param("id") String id);
    List<ShopTypeRe> getGoodsTypeListByShopIds(@Param("shopIds") List<String> shopIds);
}
